<h1>Editing definition</h1>
<%= error_messages_for :definition %>

<% form_for(@definition) do |f| %>
  <%= render :partial => "fields", :locals => {:f => f} %>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<p>
    <%= link_to 'Show', @definition %> |
    <%= link_to 'Back', definitions_path %>
</p>